package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.dto.UserInfoDto;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/2/23 10:58
 * @description:
 */
@Getter
@Setter
@ToString
public class UserInfoResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = 8904747816982707246L;
    private UserInfoDto user;

    public void setMessage(UserInfoDto user) {
        this.user = user;
    }

    @Override
    public int getMessageType() {
        return UserInfoResponseMessage;
    }
}
